.chat{
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 50px;
  box-sizing: border-box;
  .context{
    width: 100%;
    padding: 10px;
    padding-bottom: 120px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    .item{
      max-width: 70vw;
      display: flex;
      align-items: center;
      margin: 15px 0;
      image{
        width: 40px;
        height: 40px;
        border-radius: 5px;
        box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
      }
      view{
        margin: 0 10px;
        padding: 10px;
        border-radius: 6px;
        background-color: #fff;
        font-size: 14px;
        max-width: 230px;
        box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
      }
    }
    .item-r{
      max-width: 70vw;
      display: flex;
      flex-direction: row-reverse;
      align-items: center;
      margin: 15px 0;
      align-self: flex-end;
      image{
        width: 40px;
        height: 40px;
        border-radius: 5px;
        box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
      }
      view{
        margin: 0 10px;
        padding: 10px;
        box-sizing: border-box;
        max-width: 230px;
        border-radius: 6px;
        font-size: 14px;
        box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
        background-color: #409EFF;
        color: #fff;
      }
    }
  }
  .control{
    position: fixed;
    bottom: 50px;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #f7f7f7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
    box-sizing: border-box;
    input{
      width:75% ;
      height: 40px;
      padding: 0 15px;
      box-sizing: border-box;
      background-color: #fff;
      border-radius: 4px;
    }
    .send{
      width: 70px;
      height: 35px;
      line-height: 36px;
      font-size: 15px;
      text-align: center;
      background-color: #07c160;
      border-radius: 4px;
      color:#fff;
      border-radius: 6px;
    }
  }
}